package com.alks.function.data.dto.administration;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDate;

@Getter
@Setter
@NoArgsConstructor
public class PcEmployeeAwardDto {

    @ApiModelProperty(value = "工号",name = "workId")
    private String workId;

    @ApiModelProperty(value = "部门名称",name = "deptName")
    private String deptName;

    @ApiModelProperty(value = "姓名",name = "name")
    private String name;

    @ApiModelProperty(value = "身份证",name = "idNo")
    private String idNo;

    @ApiModelProperty(value = "职务",name = "position")
    private String position;

    @ApiModelProperty(value = "奖惩日期",name = "ddate")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private LocalDate ddate;

    @ApiModelProperty(value = "奖惩类别",name = "type")
    private String type;

    @ApiModelProperty(value = "奖惩次数",name = "nums")
    private Integer nums;

    @ApiModelProperty(value = "奖惩原因",name = "nums")
    private String reason;

    private Integer id;
}
